package com.lei2j.iterator;

public class MenuComponent {

	public String getName() {
		return "";
	}
	
	public String getDesciption() {
		return "";
	}
	
	public double getPrice() {
		return 0.0;
	}
	
	public boolean isVegetarian() {
		return false;
	}
	
	public void print() {
	}
	
	public boolean add(MenuComponent component) {
		return false;
	}
	
	public boolean remove(MenuComponent component) {
		return false;
	}
	
	public MenuComponent getChild(int index) {
		return null;
	}
	
	public Iterator<MenuComponent> iterator(){
		return new NullIterator();
	}
}
